package com.offcn.user.service;

import com.offcn.user.pojo.User;

public interface UserService {

    public void add(User user);

    public void createSmsCode(String phone);

    public  boolean checkSmsCode(String phone,String code);

    public User findByUsername(String username);
}
